<template>
<div>message的值:{{message}}</div>
<div>obj.message的值:{{obj.message}}</div>
</template>
<script setup>
import {reactive,toRefs} from 'vue'
const obj=reactive({message:'盛年不重来'})
let {message}=toRefs(obj)
setTimeout(()=>{
    message.value='岁月不待人'
},2000)
</script>